﻿using Abp.Domain.Entities.Auditing;
using Abp.Runtime.Validation;
using Camc.Quality.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.TrepanningManager.BomAnalyseDto
{
    public class BomAnalyseManagerEditDto : PagedAndSortedInputDto, IShouldNormalize
    {

        /// <summary>
        /// 型号
        /// </summary>
        public string Module { get; set; }
        /// <summary>
        /// 型号Id
        /// </summary>
        public Guid ModuleId { get; set; }
        /// <summary>
        /// 发次
        /// </summary>
        public string SendTime { get; set; }
        /// <summary>
        /// 发次id
        /// </summary>
        public  Guid SendTimeId { get; set; }
        /// <summary>
        /// 芯级名称
        /// </summary>
        public string XJName { get; set; }
        /// <summary>
        /// 芯级名称
        /// </summary>
        public string XJCode { get; set; }
        /// <summary>
        /// 芯级id
        /// </summary>
        public Guid XJId { get; set; }
        /// <summary>
        /// 物料类别
        /// </summary>
        public string MaterialTypeName { get; set; }
        /// <summary>
        /// 预配套状态
        /// </summary>
        public string PreSuiteStatus { get; set; }
        /// <summary>
        /// 仓库id
        /// </summary>
        public Guid StoreId { get; set; }
        public void Normalize()
        {
            if (string.IsNullOrEmpty(Sorting))
            {
                Sorting = "CreationTime Desc";
            }
        }

    }
}
